import java.io.Serializable;


public class TableServer implements Serializable
{
    String nickName;
    String clientIp;
    int clientPort;
    boolean isOnline;
    
    public TableServer (String nickname, String ip, int port, boolean isOnline)
    {
        this.nickName = nickname;
        this.clientIp = ip;
        this.clientPort = port;
        this.isOnline = isOnline;
    }
}

//how to use: TableServer entry = new TableServer("abc", "22.3.3.3")